﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SQT.tracnghiem.Ajax.ASP.Events
{
    public partial class edit_game_dhbc : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        public bool check_game(string[] game, int id)
        {
            for (int i = 0; i < game.Length - 1; i++)
            {
                if (id == int.Parse(game[i]))
                    return true;
            }
            return false;
        }
    }
}